package com.fansl.allround.study.designpattern.factory;

import lombok.Data;

/**
 * @author fansl
 * @Description: TODO
 * @date 2019/10/11 16:26
 */
@Data
public class Cattle implements Animal {
    private String name;
    @Override
    public void show() {
        System.out.println("cattle "+ name + " is wow...");
    }
}
